From c0fcc52140d0c06465ecd9674838d27c3f0846d0 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Tue, 18 May 2004 16:38:08 +0000 Subject: [PATCH] (gnus-all-windows-visible-p): Don't consider non-visible windows. --- lisp/gnus/gnus-win.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/gnus/gnus-win.el b/lisp/gnus/gnus-win.el index fa082e7c1d0..4d0c18a8daf 100644 --- a/lisp/gnus/gnus-win.el +++ b/lisp/gnus/gnus-win.el @@ -1,5 +1,5 @@ ;;; gnus-win.el --- window configuration functions for Gnus -;; Copyright (C) 1996, 1997, 1998, 1999, 2000, 2002 +;; Copyright (C) 1996, 97, 98, 1999, 2000, 02, 2004 ;; Free Software Foundation, Inc. ;; Author: Lars Magne Ingebrigtsen @@ -516,7 +516,7 @@ should have point." (unless buffer (error "Invalid buffer type: %s" type)) (if (and (setq buf (get-buffer (gnus-window-to-buffer-helper buffer))) - (setq win (get-buffer-window buf t))) + (setq win (get-buffer-window buf 0))) (if (memq 'point split) (setq all-visible win)) (setq all-visible nil))) -- 2.30.2